package com.zhihuichongcheng.application.constant;

/**
 * Created by admin on 16/8/1.
 */
public class NetworkAPI {
    /***
     * 网络请求成功状态码
     */
    public static final int RequestSucceed = 2000;

    /***
     * 请求失败
     */
    public static final int RequestFailed = 2002;

    /***
     * token过期状态码
     */
    public static final int TokenExpired = 2002;

    /**
     * 网络请求主站点xx
     */
//    线上地址
    public static final String NetworkHost = "http://app.jm-ccwy.com/ws/";
    public static final String FormHost = "https://web.jm-ccwy.com/#/approval-create-app?";
    public static final String Approval_detail_web = "https://web.jm-ccwy.com/#/approval-detail-app";
    public static final String FormSaveHost = "https://web.jm-ccwy.com/#/approval-create-edit-save-app?";
//    //线上测试
//    public static final String FormHost = "http://web.chongcheng.yunkeshuzhi.com/#/approval-create-app?";
//    public static final String NetworkHost = "http://chongcheng.yunkeshuzhi.com/chongcheng-mobile/";
//    public static final String Approval_detail_web = "http://web.chongcheng.yunkeshuzhi.com/#/approval-detail-app";
//    public static final String FormSaveHost = "http://web.chongcheng.yunkeshuzhi.com/#/approval-create-edit-save-app?";
    //线下
//    public static final String NetworkHost = "http://chongcheng.yunkeshuzhi.com/chongcheng-mobile/";
//    public static final String FormHost = "http://192.168.50.117:8083/#/approval-create-app?";
//    public static final String Approval_detail_web = "http://192.168.50.117:8083/#/approval-detail-app";
//    public static final String FormSaveHost = "http://192.168.50.117:8083/#/approval-create-edit-save-app?";

    /***
     * ／ 修改密码
     */
    public static final String ChangePassword = NetworkHost + "user/reset";
    /***
     * 登陆
     */
    public static final String Login = NetworkHost + "user/login";
    /***
     * 朋友列表
     */
    public static final String FriendLIst = NetworkHost + "user/list-friend";

    /***
     * 头像上传
     */
    public static final String UpdateFile = NetworkHost + "user/chglogo";

    /***
     * 崇诚家园的类型
     */
    public static final String CricleCategorys = NetworkHost + "home-class/list";


    /***
     * 崇诚家园保存
     */

    public static final String CricleSave = NetworkHost + "home/save";

    /***
     * 崇诚家园数据count
     */
    public static final String CricleCount = NetworkHost + "home/count";
    /***
     * 崇诚家园列表
     */
    public static final String CricleList = NetworkHost + "home/list";
    /***
     * 崇诚家园详情
     */
    public static final String CricleDetail = NetworkHost + "home/info";
    /***
     * 崇诚家园评论列表
     */
    public static final String CricleCommentList = NetworkHost + "home-comment/list";
    /***
     * 添加评论
     */
    public static final String CricleAddComment = NetworkHost + "home-comment/comment";
    /***
     * 添加点赞
     */
    public static final String CricleAddLike = NetworkHost + "home/like";
    /***
     * 我的家园
     */
    public static final String MyCricle = NetworkHost + "home/my";
    /***
     * 删除崇诚家园
     */
    public static final String DelCricle = NetworkHost + "home/delete";

    /***
     * 新闻列表
     */
    public static final String NewsList = NetworkHost + "new/list";

    /***
     * 会议通知
     */
    public static final String MettingNoticeList = NetworkHost + "meeting/list";
    /***
     * 会议通知的日志
     */
    public static final String MettingNoticeLog = NetworkHost + "meeting/log";
    /***
     * 公告通知
     */
    public static final String AnnouncementNoticeList = NetworkHost + "announcement/list";
    /***
     * 公告通知的日志
     */
    public static final String AnnouncementNoticeLog = NetworkHost + "announcement/log";

    /***
     * 公开课类型
     */
    public static final String OpenclassCategory = NetworkHost + "openclass-category/list";

    /***
     * 公开课列表
     */
    public static final String Openclass_list = NetworkHost + "openclass/list";
    /***
     * 公开课详情
     */
    public static final String Openclass_detail = NetworkHost + "openclass/info";
    /***
     * 公开课评论
     */
    public static final String Openclass_Detail_comment = NetworkHost + "openclass-comment/list";
    /***
     * 公开课添加评论
     */
    public static final String Openclass_detail_addComment = NetworkHost + "openclass-comment/save";
    /***
     * 协同列表
     */
    public static final String Coordination_list = NetworkHost + "file/list";
    /***
     * 协同详情
     */
    public static final String Coordiantion_detail = NetworkHost + "file/info";
    /***
     * 等待我审批
     */
    public static final String Approval_wait = NetworkHost + "user-form/wait";
    /***
     * 我已审批
     */
    public static final String Approval_Done = NetworkHost + "user-form/done";
    /***
     * 我发起的
     */
    public static final String Approval_My_Audit = NetworkHost + "user-form/my-audit";
    /***
     * 我保存的
     */
    public static final String Approval_SAVE_FORM = NetworkHost + "user-form/saved-form";
    /***
     * 审批分类
     */
    public static final String Approval_Category = NetworkHost + "user-form-category/list";
    /***
     * 删除已经保存的表单
     */
    public static final String Approval_Delete_Save_Form = NetworkHost + "user-form/delete-saved-form";
    /***
     * 审批表单列表
     */
    public static final String Approval_List = NetworkHost + "user-form/list";
    /***
     * 审批表单
     */
    public static final String Approval_Audio_View = NetworkHost + "user-form/audit-view";
    /***
     * 处理
     */
    public static final String APproval_Deal = NetworkHost + "user-form/deal";
    /***
     * 审批附加项
     */
    public static final String USER_FORM_CHOICE = NetworkHost + "user-form/choice";
    /***
     * 代办数目
     */
    public static final String Approval_Wait_count = NetworkHost + "user-form/wait-count";
    /***
     * 代办数目
     */
    public static final String Approval_Reject_count = NetworkHost + "user-form/countReject";
    /***
     * 结束任务
     */
    public static final String MISSION_FINISH = NetworkHost + "mission/finish";
    /***
     * 重启任务
     */
    public static final String MISSION_RESTART = NetworkHost + "mission/restart";
    /***
     * 任务列表
     */
    public static final String MISSION_LIST = NetworkHost + "mission/list";
    /***
     * 任务消息列表
     */
    public static final String MISSION_MSG_LIST = NetworkHost + "mission/message/list";
    /***
     * 相关人员列表
     */
    public static final String MISSION_COMMENT_AT = NetworkHost + "mission/comment/at";
    /***
     * 任务消息数量
     */
    public static final String MISSION_MSG_COUNT = NetworkHost + "mission/message/unread";
    /***
     * 消息设置已读
     */
    public static final String MISSION_MSG_OPEN = NetworkHost + "mission/message/open";
    /***
     * 子任务列表
     */
    public static final String MISSION_SUBTASK_LIST = NetworkHost + "mission/subtask/list";
    /***
     * 任务参与者
     */
    public static final String MISSION_ACTOR = NetworkHost + "mission/actor";
    /***
     * 创建任务
     */
    public static final String MISSION_PUBLISH = NetworkHost + "mission/publish";
    /***
     * 创建子任务
     */
    public static final String MISSION_SUBTASK_PUBLISH = NetworkHost + "mission/subtask/publish";
    /***
     * 获取子任务详情
     */
    public static final String MISSION_SUBTASK_DETAIL = NetworkHost + "mission/subtask/detail";
    /***
     * 任务优先级
     */
    public static final String MISSION_PRIORITY = NetworkHost + "mission/priority";
    /***
     * 任务类型
     */
    public static final String MISSION_TYPE = NetworkHost + "mission/type";
    /***
     * 任务详情
     */
    public static final String MISSION_DETAIL = NetworkHost + "mission/detail";
    /***
     * 删除子任务
     */
    public static final String MISSION_SUBTASK_DELETE = NetworkHost + "mission/subtask/delete";
    /***
     * 结束子任务
     */
    public static final String MISSION_SUBTASK_FINISH = NetworkHost + "mission/subtask/finish";
    /***
     * 发布评论
     */
    public static final String MISSION_COMMENT_PUBLISH = NetworkHost + "mission/comment/publish";
    /***
     * 评论列表
     */
    public static final String MISSION_COMMENT_LIST = NetworkHost + "mission/comment/list";
}
